<extend name="public:base"/>

<block name="menu"></block>
<block name="left"></block>

<block name="css">
    <style type="text/css">
        .position {
            width: 100%;
        }
    </style>
    <link rel="stylesheet" href="__CSS__/sign.css}">
</block>

<block name="main">

    <div class="slide_main fr">
        <!--<h1 class="frame_title mb10">认证中心</h1>-->
        <div class="frame_slide_con">
            <div class="regWrapper">

                <div class="regTitle cl">
                    <h2 class="fl f22">
                        开通银行存管
                    </h2>
                    <span class="fr a999">实名认证后身份证不允许修改、更换或注销</span>

                </div>

                <!--个人-->
                <div class="newRegStep cl forgetPwd">
                    <form action="{:url('user/index/account')}" method="POST" id="form">
                        <ul class="fl">
                            <li>
                                <div class="text">姓名</div>
                                <div class="right">
                                    <input type="text" class="input_t" size="30" id="actualName" name="real_name"
                                           value="{$user.real_name|default=''}"/>
                                </div>
                            </li>
                            <li>
                                <div class="text">身份证号</div>
                                <input type="text" class="input_t" size="30" name="idcard" maxlength="18"
                                       value="{$user.idcard|default=''}" id="idCard"/>
                            </li>
                            <li>
                                <div class="text">银行卡号</div>
                                <input type="text" class="input_t" size="30" name="card_id" maxlength="19"
                                       value="{$user.card_id|default=''}" id="bank" autocomplete="off"/>
                            </li>
                            <li class="tips a666">
                                <i class="iconFont mr5 af60">&#xe643;</i>
                                <span>银行预留手机号必须与注册手机号一致！若不一致，会导致开户失败，如有任何问题请联系客服(<i class="af60"
                                                                                    style="display: inline-block;">400-064-8388</i>)</span>
                            </li>
                        </ul>
                        <div class="submitLine pt10">
                            <p class="mb20 mt10">
                                <input type="submit" value="开户" class="btn_b" id="inputSubmit"/>
                            </p>
                        </div>
                    </form>
                </div>

            </div>
        </div>
    </div>
</block>

<block name="footer">
    <include file="../template/default/index/public/min_footer.html"/>
</block>

<block name="js">

    <script type="text/javascript" src="__JS__/checkcode.js}"></script>

    <script type="text/javascript">
        $(function () {
            $("#form").submit(function () {
                if (!checkCnName()) {
                    return false;
                }
                if (!checkIdCodeOne()) {
                    return false;
                }
                if (!checkBank()) {
                    return false;
                }
            });
        })
    </script>
</block>

